home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-13
/
sw25.zip
/
SW.HL2
< prev
next >
Wrap
Text File
|
1990-08-21
|
23KB
|
484 lines
- Page 1 -
────────────────────────────────────────────────────────────────────
EDITING COMMANDS
The following commands directly manipulate text by means of
insertion or deletion.
────────────────────────────────────────────────────────────────────
@$22 INSERT/REPLACE mode enables or disables the
"character insert" mode. This mode allows
you to insert text without overwriting the
current text. When enabled, "INSERT" will
appear on the status line; when disabled,
"REPLACE" appears.
@$23 DELETE removes the character at the cursor
and moves the remaining text on that line
one column to the left.
- Page 2 -
@$24 BACKSPACE deletes the character to the
immediate left of the cursor and moves the
remaining text on that line one column to
the left when the BACKSPACE MODE is set to
destructive. If non-destructive BACKSPACE
MODE is active, the key functions as a left
arrow.
@$25 INSERT LINE inserts a new line before the
current line.
@$26 DELETE LINE deletes the current line.
@$76 DELETE TO EOL (End Of Line) deletes the
text from the current cursor position to the
end of the current line.
- Page 3 -
@$9 JOIN LINE appends the next line to the end of
the current line (providing the length of the
resulting line will not exceed 1000 columns).
@$46 MACRO RECORD starts or stops the recording
of keys pressed to be used by the MACRO PLAY
command. When MACRO RECORD is invoked, all
keys pressed are stored in a macro buffer.
The number of characters in this buffer is
displayed in the right corner of the status
line. The buffer will accomodate a maximum
of 999 keys; any keys pressed after that
will be ignored.
@$48 MACRO PLAY repeats the keystrokes recorded
by the last MACRO RECORD session. These
keystrokes will be repeated just as if you
retyped the entire sequence.
- Page 4 -
@$92 SAVE MACRO will save the macro recorded
to the next macro keystroke entered. For
instance, if Macro 1 is configured as Alt-1,
then you would immediately press Alt-1 after
activating this function. Macros 1 - 19 are
saved in text files which may be edited (by
SimplyWrite) - see the function key reference
chart. These files are, unless otherwise
specified, named SWMACRO.001 - SWMACRO.019,
where SWMACRO.001 corresponds with Macro 1
and so on.
@$93 Macro 1 @$98 Macro 6
@$94 Macro 2 @$99 Macro 7
@$95 Macro 3 @$100 Macro 8
@$96 Macro 4 @$101 Macro 9
@$97 Macro 5 @$102 Macro 10
- Page 5 -
@$103 Macro 11 @$108 Macro 16
@$104 Macro 12 @$109 Macro 17
@$105 Macro 13 @$110 Macro 18
@$106 Macro 14 @$111 Macro 19
@$107 Macro 15
- Page 6 -
@$45 WORD WRAP enables or disables word wrap
mode. When WORD WRAP is enabled, a "WW" is
displayed on the status line and any word
that crosses the right margin is placed at
the left margin of the next line. WORD WRAP
is only functional when the ruler is
displayed; if the ruler is hidden you can
surpass the right margin. If WORD WRAP is
not enabled, and the ruler is on, a warning
tone sounds as you approach the right
margin.
@$43 AUTO INDENT toggles the auto
indentation mode. When AUTO INDENT is
on, a "AI" appears on the status line.
When <RETURN> is pressed, the cursor is
placed in the same column as the first
character on the previous line.
- Page 7 -
@$40 LINE DRAW toggles the line drawing
capabilities. When LINE DRAW is enabled, a
"[ ]" appears on the status line, with the
line drawing character noted within the
brackets. Pressing the cursor keys will
draw a line in that direction.
@$41 When LINE DRAW is enabled, LINE SELECT
selects the line format to be used. The
valid options are: [┌┘] for single line,
[╔╝] for double line, [+-] for '+' and '-'
symbols, and [' '] where the character
between the quotes can be any character from
the IBM PC character set. Each time LINE
SELECT is invoked, the next line style set
becomes active.
- Page 8 -
@$42 CHAR DRAW allows selection of the ASCII
character used to draw the lines with LINE
DRAW when LINE SELECT is set in the ASCII
mode (['X']). Use the cursor arrows to
slide the character set under the pointer.
Once selected, the character is displayed
between the quotes withing the square
brackets on the status line. Pressing <ESC>
terminates the option and selects the
indicated character as the drawing
hieroglyphic.
- Page 9 -
@$49 FORMAT TEXT adjusts text into a left
justified format within the current margin
settings (provided the ruler is on). The
text to be formatted consists of the current
line down to the next blank line.
In addition to formatting complete lines,
columns of text may be formatted without
affecting the surrounding text by enabling
the crosshair (<F4>). In this instance, the
section of text to be formatted is
represented "rectangularly": bounded by the
left margin and the crosshair, and the
current line and the next blank line. Text
is formatted to fit within the left and
right margin. The crosshair must be placed
in a column past the right margin.
- Page 10 -
@$50 DEL WORD RIGHT removes the word to the
immediate right of the cursor position. The
next space or punctuation is considered the
end of the word. If the cursor is
positioned at the end of the line when
invoked, the following line is appended.
@$60 CENTER LINE centers the current line of text
between the right and left margins, then
positions the cursor on the following line.
It is not necessary for the ruler to be
displayed. The position of the cursor on
the line is not significant; however, if the
target text does not fit within the margins,
no operation takes place.
- Page 11 -
@$61 UPPER CASE LINE changes all text characters
of the current line to upper case.
@$62 LOWER CASE LINE changes all text characters
of the current line to lower case.
@$47 REPEAT KEY prompts for the number of
repetitions, then repeats the following
keystroke the specified number of times.
Pressing <ESC> will abort the operation.
@$56 QUICK SAVE saves the current file and
resumes editing without clearing the screen
or leaving the text editing mode. This
option should be used occasionally during
long edit sessions to help prevent
accidental loss of text due to power
failures or other catastrophes.
- Page 12 -
@$78 SEARCH/REPLACE locates specified text in the
current document and replaces it with the
replacement text. SEARCH/REPLACE requires
three entries from the user. The first
entry is the text to be replaced, prompted
by "Search". The second entry, "Replace",
prompts for the replacement text. The last
entry prompts for the control options.
These options are:
G - Globally replace the search text; search
commences at the beginning of the file.
F - Search all text from the current line
forward.
U - Ignore the case of the search text.
N - Replace text without user interaction.
- Page 13 -
────────────────────────────────────────────────────────────────────
TEXT COMMANDS
Most of the following TEXT COMMANDS require that the text be
marked in order to perform an operation (see START TEXT and END
TEXT). TEXT segments can be marked at the beginning of a line
or from within a line. All text and space that exists
contiguously between the START TEXT and END TEXT marks is
affected. When a TEXT segment is moved or copied, it is
inserted into its new location. When a TEXT segment is deleted,
any lines and space consumed by the segment are removed from the
document.
────────────────────────────────────────────────────────────────────
@$51 START TEXT marks the beginning of a text
block. The beginning and end of a text
block must be marked before any text block
manipulation functions can be executed.
- Page 14 -
@$52 END TEXT marks the end of a text block. The
beginning and end of a text block must be
marked before any text block manipulation
functions can be executed.
@$53 COPY TEXT duplicates the marked text and
inserts the text copy at the current cursor
position.
@$54 DELETE TEXT removes the currently marked
text and its corresponding space from the
document.
@$55 MOVE TEXT moves the marked text from its
original position and inserts it at the
current cursor position.
- Page 15 -
@$58 READ TEXT reads a separate text file into
document at the current cursor position.
When read in, the new text is already marked
and no prior marking is required. READ TEXT
inserts (rather than overwrites) the new
text into the current document. When
instigating READ TEXT, you are prompted to
enter the drive, directory path, and name of
the file to be read. If any wildcards (*,
?, etc.) are used in the specification, a
directory appears allowing selection of any
file within the list.
- Page 16 -
@$59 WRITE TEXT writes a copy of the marked text
to a separate text file. You are prompted
to enter the name (and corresponding
specifications) of the file to receive the
marked text. If the file does not exist, it
be created; if it already exists, a message
stating so will appear asking if you wish to
overwrite the file.
@$57 HIDE/SHOW TEXT hides or rehighlights a
marked section of text. Marked text is
highlighted and a "▒" appears on the status
line. When marked text is hidden, the text
remains marked although it is not
highlighted. It is advisable to hide marked
text since text change operations may occur
at a slower rate due to increased screen
updating.
- Page 17 -
────────────────────────────────────────────────────────────────────
BLOCK COMMANDS
Most of the block commands that follow require that a block of
text be marked to perform an operation (see START BLOCK and END
BLOCK). BLOCK segments differ from TEXT sections in that they
are defined by rectangular boundaries and need not include
entire lines of text. When a BLOCK segment is moved or copied,
it overwrites its targeted area; no insertion occurs and the
positioning of the surrounding text is not affected.
────────────────────────────────────────────────────────────────────
@$68 START BLOCK marks the beginning of a block.
The beginning and end of a block must be
marked before any block operations can be
executed.
- Page 18 -
@$69 END BLOCK marks the end of a block. The
beginning and end of a block must be marked
before any block operations can be executed.
@$70 COPY BLOCK duplicates the contents of the
marked block and overwrites any existing
text at the current cursor position.
@$67 DELETE BLOCK removes the currently marked
block from the document without affecting
the positioning of surrounding text.
@$71 MOVE BLOCK moves the marked block to the
current cursor location.
- Page 19 -
@$63 HIDE/SHOW BLOCK hides or rehighlights a
marked block. The marked block is
highlighted and a "▒" appears on the status
line. When a marked block is hidden, the
block remains marked although it is not
highlighted. It is advisable to hide a
marked block since text change operations
may occur at a slower rate due to increased
screen updating.
@$73 SORT BLOCK alphabetically and vertically
sorts the contents of marked block. You can
either sort the entire contents of the line
(Sort Line) or just the marked block (Sort
Column). You also indicate an ascending or
descending sort order.
- Page 20 -
@$64 READ BLOCK reads a separate test file into
document at the current cursor position.
When read in, the new text is already marked
and requires no prior text marking. READ
BLOCK overwrites (rather than inserts into)
any existing text in the current document.
@$72 WRITE BLOCK copies the marked block to a
separate text file. You are prompted to
enter the name of the file to receive the
marked block. If the file does not exist,
it is created; if it already exists, a
message stating so will appear asking if you
wish to overwrite the file. WRITE BLOCK
outputs files with fixed-length lines (all
lines in the receiving file are the same
length). Any lines that are not as wide as
the marked block are padded with spaces.
- Page 21 -
@$74 SUM BLOCK adds every distinct number of
every line within a marked block, and places
the result at the current location of the
cursor. Negative numbers are subtracted and
all positive numbers are added. When using
this function, all spaces, text (including
parentheses) are merely considered
seperators between the numbers, and the
minus sign ('-') is the only valid notation
for negative numbers. If this function is
invoked on a marked block which contains
only text, a zero is returned.
- Page 22 -
@$91 FORMAT BLOCK, will prompt to L)eft, R)ight,
B)oth C)enter, or S)hrink justify the text that
is within the block. Entering a L, R, B, C, or
S will complete the operation, any other
character will abort it. The LEFT option will
remove all whitespace between the left edge of
the block and the first character on each line
within the block. The RIGHT will remove all
whitespace between the right edge of the block
and the last character of each line within the
block. The BOTH option will lengthen the line
by inserting whitespace between words until the
line reaches the right edge of the block. The
CENTER option will distribute the remaining
whitespace on both edges of the block (centering
the line of text within). The SHRINK option
will remove redundant whitespace between words
within the block, but leaves 2 spaces after
every period.
- Page 23 -
@$66 COLUMN LINE INSERT inserts a blank line
between the current line and the next line
within the current margins. Only text in
the designated column is affected. All text
within the designated column between the
inserted line and the first blank line is
moved down. This minimizes the effects of
the insertion on paragraphs below which lie
within the margins.
@$65 COLUMN LINE DELETE removes the current line
within the current margins. Only text in
the desginated column is affected. All text
within the designated column between the
deleted line and the first blank line is
moved up between the margins. This minimizes
the effects of the deletion on paragraphs
below which lie within the margins.
******************************************************************************